﻿// =================================================================== 
// 项目说明
//====================================================================
// @Copy Right 2006-2008
// 文件： T_VEHICLE.cs
// 项目名称：Lovol 
// 创建时间：2011/9/21
// 负责人：
// ===================================================================
using System;
using System.Collections.Generic;
using System.Text;
using DP.Data.OracleClient;
using System.Configuration;
using DP.Data.SqlClient;
namespace CRM.Entity
{
	/// <summary>
	///T_VEHICLE数据实体
	/// </summary>
	[Serializable]
    [OracleTable(TableName = "T_VEHICLE", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    [SqlTable(TableName = "T_VEHICLE", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
	public class T_VEHICLE_Entity
	{
		#region 变量定义		
		///<summary>
		///车辆编号
		///</summary>
		private long _vEHICLEID;
		///<summary>
		///整机编号
		///</summary>
		private string _vINCODE = String.Empty;
		///<summary>
		///产品代码
		///</summary>
		private string _pRODUCTCODE = String.Empty;
		///<summary>
		///品牌代码
		///</summary>
		private string _bRANDCODE = String.Empty;
		///<summary>
		///类型代码
		///</summary>
		private string _vEHICLETYPECODE = String.Empty;
		///<summary>
		///系列代码
		///</summary>
		private string _sERIESCODE = String.Empty;
		///<summary>
		///机型代码
		///</summary>
		private string _mODELSCODE = String.Empty;
		///<summary>
		///发动机型号代码
		///</summary>
		private string _eNGINEMODELCODE = String.Empty;
		///<summary>
		///发动机厂家代码
		///</summary>
		private string _eNGINEMANUFACTURERSCODE = String.Empty;
		///<summary>
		///品牌
		///</summary>
		private string _bRAND = String.Empty;
		///<summary>
		///类型
		///</summary>
		private string _vEHICLETYPE = String.Empty;
		///<summary>
		///系列
		///</summary>
		private string _sERIES = String.Empty;
		///<summary>
		///机型
		///</summary>
		private string _mODELS = String.Empty;
		///<summary>
		///发动机型号
		///</summary>
		private string _eNGINEMODEL = String.Empty;
		///<summary>
		///发动机厂家
		///</summary>
		private string _eNGINEMANUFACTURERS = String.Empty;
		///<summary>
		///发动机编号
		///</summary>
		private string _eNGINENUMBER = String.Empty;
		///<summary>
		///车架号
		///</summary>
		private string _fRAMENUMBER = String.Empty;
		///<summary>
		///试车人
		///</summary>
		private string _dRIVECHECKER = String.Empty;
		///<summary>
		///车辆状态
		///</summary>
		private string _vEHICLESTATUS = String.Empty;
		///<summary>
		///内部下线日期
		///</summary>
		private DateTime? _iNNEROFFLINEDATE;
		///<summary>
		///下线日期
		///</summary>
		private DateTime? _oFFLINEDATE;
		///<summary>
		///总成系列号格式定义
		///</summary>
		private string _sERIALMENO = String.Empty;
		///<summary>
		///订单跟踪号
		///</summary>
		private string _sON = String.Empty;
		///<summary>
		///出厂日期
		///</summary>
		private DateTime? _mANUFACTUREDATE;
		///<summary>
		///信息来源（0下线录入,1历史车辆导入,2盘点录入,3采购录入）
		///</summary>
		private string _sOURCESYS = String.Empty;
		///<summary>
		///入库日期
		///</summary>
		private DateTime? _sTOCKDATE;
		///<summary>
		///供应商编号
		///</summary>
		private string _sUPPLYCODE = String.Empty;
		///<summary>
		///供应商名称
		///</summary>
		private string _sUPPLYNAME = String.Empty;
		///<summary>
		///检验人名称
		///</summary>
		private string _vERIFIERNAME = String.Empty;
		///<summary>
		///入库检验时间
		///</summary>
		private DateTime? _vERIFIERDATE;
		///<summary>
		///一次销售时间
		///</summary>
		private DateTime? _fIRSTSALEDATE;
		///<summary>
		///公告号
		///</summary>
		private string _bULLETINCODE = String.Empty;
		///<summary>
		///变速箱型号
		///</summary>
		private string _gEARTYPE = String.Empty;
		///<summary>
		///变速箱号
		///</summary>
		private string _gEARCODE = String.Empty;
		///<summary>
		///备注
		///</summary>
		private string _rEMARK = String.Empty;
		///<summary>
		///转涂ID
		///</summary>
		private string _tUTURNID = String.Empty;
		///<summary>
		///转涂修改人
		///</summary>
		private string _tUTURNNAME = String.Empty;
		///<summary>
		///转涂时间
		///</summary>
		private DateTime? _tUTURNTIME;
		///<summary>
		///合格证编号
		///</summary>
		private string _cERTIFICATION = String.Empty;
		///<summary>
		///销售日期
		///</summary>
		private DateTime? _eXPORTDATE;
		///<summary>
		///上线时间
		///</summary>
		private DateTime? _oNLINEDATE;
		///<summary>
		///上线录入人
		///</summary>
		private string _oNLINENAME = String.Empty;
		///<summary>
		///外型参数
		///</summary>
		private string _sHAPEPARAMETERS = String.Empty;
		///<summary>
		///整备质量
		///</summary>
		private string _pREPAREDNESSQUALITY = String.Empty;
		///<summary>
		///计时器运行时间
		///</summary>
		private string _sTOPWATCHDATE = String.Empty;
		///<summary>
		///特殊记事
		///</summary>
		private string _sPECIALNOTES = String.Empty;
		///<summary>
		///重大问题变更记录
		///</summary>
		private string _mAJORCHANGERECORD = String.Empty;
		///<summary>
		///涂回人ID
		///</summary>
		private string _tUBACKID = String.Empty;
		///<summary>
		///涂回人
		///</summary>
		private string _tUBACKNAME = String.Empty;
		///<summary>
		///涂回时间
		///</summary>
		private DateTime? _tUBACKTIME;
		///<summary>
		///创建时间
		///</summary>
		private DateTime? _cREATETIME;
		///<summary>
		///创建人编号
		///</summary>
		private long? _cREATEPEOPLEID = 0;
		///<summary>
		///创建人
		///</summary>
		private string _cREATEPEOPLE = String.Empty;
		///<summary>
		///最后修改人编号
		///</summary>
		private long? _lASTMODIFYPEOPLEID = 0;
		///<summary>
		///最后修改人
		///</summary>
		private string _lASTMODIFYPEOPLE = String.Empty;
		///<summary>
		///最后修改时间
		///</summary>
		private DateTime? _lASTMODIFYTIME;
		///<summary>
		///事业部编号
		///</summary>
		private long? _bUSINESSDIVISIONID = 0;
		///<summary>
		///事业部名称
		///</summary>
		private string _bUSINESSDIVISIONNAME = String.Empty;
		///<summary>
		///事业部代码
		///</summary>
		private string _bUSINESSDIVISIONCODE = String.Empty;
		///<summary>
		///市场部编号
		///</summary>
		private long? _mARKETDEPARTMENTID = 0;
		///<summary>
		///市场部代码
		///</summary>
		private string _mARKETDEPARTMENTCODE = String.Empty;
		///<summary>
		///市场部名称
		///</summary>
		private string _mARKETDEPARTMENTNAME = String.Empty;
		///<summary>
		///经销商代码
		///</summary>
		private string _dEALERCODE = String.Empty;
		///<summary>
		///经销商名称
		///</summary>
		private string _dEALERNAME = String.Empty;
		///<summary>
		///车辆用途
		///</summary>
		private string _vEHICLEUSE = String.Empty;
		///<summary>
		///里程
		///</summary>
		private long? _mILEAGE = 0;
		///<summary>
		///车身颜色
		///</summary>
		private string _cOLOR = String.Empty;
		///<summary>
		///上车编号
		///</summary>
		private string _cARNUMBER = String.Empty;
		///<summary>
		///底盘编号
		///</summary>
		private string _cHASSISNO = String.Empty;
		///<summary>
		///变更时间
		///</summary>
		private DateTime? _cHANGEDATE;
		///<summary>
		///变更人
		///</summary>
		private string _cHANGENAME = String.Empty;
		///<summary>
		///企业代码
		///</summary>
		private string _cORPCODE = String.Empty;
		///<summary>
		///配置编号
		///</summary>
		private string _cFGPRODUCTCODE = String.Empty;
		///<summary>
		///服务商
		///</summary>
		private string _sTATIONCODE = String.Empty;
		///<summary>
		///排量
		///</summary>
		private string _eMISSIONS = String.Empty;
		#endregion
		
		#region 构造函数
		///<summary>
		///
		///</summary>
		public T_VEHICLE_Entity()
		{			
			
		}
		#endregion
		
		#region 公共属性
		
		///<summary>
		///车辆编号
		///</summary>		
        [OracleColumn(IncrementPrimaryKey = false, PrimaryKey = true, SequenceName = "SQ_T_VEHICLE")]
        [SqlColumn(IncrementPrimaryKey = true, PrimaryKey = true)]
		public long VEHICLEID
		{
			get {return _vEHICLEID;}
			set { _vEHICLEID = value; }
			
		}

		///<summary>
		///整机编号
		///</summary>		
		public string VINCODE
		{
			get {return _vINCODE;}
			set {
					_vINCODE = value;
				}
			
		}

		///<summary>
		///产品代码
		///</summary>		
		public string PRODUCTCODE
		{
			get {return _pRODUCTCODE;}
			set {
					_pRODUCTCODE = value;
				}
			
		}

		///<summary>
		///品牌代码
		///</summary>		
		public string BRANDCODE
		{
			get {return _bRANDCODE;}
			set {
					_bRANDCODE = value;
				}
			
		}

		///<summary>
		///类型代码
		///</summary>		
		public string VEHICLETYPECODE
		{
			get {return _vEHICLETYPECODE;}
			set {
					_vEHICLETYPECODE = value;
				}
			
		}

		///<summary>
		///系列代码
		///</summary>		
		public string SERIESCODE
		{
			get {return _sERIESCODE;}
			set {
					_sERIESCODE = value;
				}
			
		}

		///<summary>
		///机型代码
		///</summary>		
		public string MODELSCODE
		{
			get {return _mODELSCODE;}
			set {
					_mODELSCODE = value;
				}
			
		}

		///<summary>
		///发动机型号代码
		///</summary>		
		public string ENGINEMODELCODE
		{
			get {return _eNGINEMODELCODE;}
			set {
					_eNGINEMODELCODE = value;
				}
			
		}

		///<summary>
		///发动机厂家代码
		///</summary>		
		public string ENGINEMANUFACTURERSCODE
		{
			get {return _eNGINEMANUFACTURERSCODE;}
			set {
					_eNGINEMANUFACTURERSCODE = value;
				}
			
		}

		///<summary>
		///品牌
		///</summary>		
		public string BRAND
		{
			get {return _bRAND;}
			set {
					_bRAND = value;
				}
			
		}

		///<summary>
		///类型
		///</summary>		
		public string VEHICLETYPE
		{
			get {return _vEHICLETYPE;}
			set {
					_vEHICLETYPE = value;
				}
			
		}

		///<summary>
		///系列
		///</summary>		
		public string SERIES
		{
			get {return _sERIES;}
			set {
					_sERIES = value;
				}
			
		}

		///<summary>
		///机型
		///</summary>		
		public string MODELS
		{
			get {return _mODELS;}
			set {
					_mODELS = value;
				}
			
		}

		///<summary>
		///发动机型号
		///</summary>		
		public string ENGINEMODEL
		{
			get {return _eNGINEMODEL;}
			set {
					_eNGINEMODEL = value;
				}
			
		}

		///<summary>
		///发动机厂家
		///</summary>		
		public string ENGINEMANUFACTURERS
		{
			get {return _eNGINEMANUFACTURERS;}
			set {
					_eNGINEMANUFACTURERS = value;
				}
			
		}

		///<summary>
		///发动机编号
		///</summary>		
		public string ENGINENUMBER
		{
			get {return _eNGINENUMBER;}
			set {
					_eNGINENUMBER = value;
				}
			
		}

		///<summary>
		///车架号
		///</summary>		
		public string FRAMENUMBER
		{
			get {return _fRAMENUMBER;}
			set {
					_fRAMENUMBER = value;
				}
			
		}

		///<summary>
		///试车人
		///</summary>		
		public string DRIVECHECKER
		{
			get {return _dRIVECHECKER;}
			set {
					_dRIVECHECKER = value;
				}
			
		}

		///<summary>
		///车辆状态
		///</summary>		
		public string VEHICLESTATUS
		{
			get {return _vEHICLESTATUS;}
			set {
					_vEHICLESTATUS = value;
				}
			
		}

		///<summary>
		///内部下线日期
		///</summary>		
		public DateTime? INNEROFFLINEDATE
		{
			get {return _iNNEROFFLINEDATE;}
			set { _iNNEROFFLINEDATE = value; }
			
		}

		///<summary>
		///下线日期
		///</summary>		
		public DateTime? OFFLINEDATE
		{
			get {return _oFFLINEDATE;}
			set { _oFFLINEDATE = value; }
			
		}

		///<summary>
		///总成系列号格式定义
		///</summary>		
		public string SERIALMENO
		{
			get {return _sERIALMENO;}
			set {
					_sERIALMENO = value;
				}
			
		}

		///<summary>
		///订单跟踪号
		///</summary>		
		public string SON
		{
			get {return _sON;}
			set {
					_sON = value;
				}
			
		}

		///<summary>
		///出厂日期
		///</summary>		
		public DateTime? MANUFACTUREDATE
		{
			get {return _mANUFACTUREDATE;}
			set { _mANUFACTUREDATE = value; }
			
		}

		///<summary>
		///信息来源（0下线录入,1历史车辆导入,2盘点录入,3采购录入）
		///</summary>		
		public string SOURCESYS
		{
			get {return _sOURCESYS;}
			set {
					_sOURCESYS = value;
				}
			
		}

		///<summary>
		///入库日期
		///</summary>		
		public DateTime? STOCKDATE
		{
			get {return _sTOCKDATE;}
			set { _sTOCKDATE = value; }
			
		}

		///<summary>
		///供应商编号
		///</summary>		
		public string SUPPLYCODE
		{
			get {return _sUPPLYCODE;}
			set {
					_sUPPLYCODE = value;
				}
			
		}

		///<summary>
		///供应商名称
		///</summary>		
		public string SUPPLYNAME
		{
			get {return _sUPPLYNAME;}
			set {
					_sUPPLYNAME = value;
				}
			
		}

		///<summary>
		///检验人名称
		///</summary>		
		public string VERIFIERNAME
		{
			get {return _vERIFIERNAME;}
			set {
					_vERIFIERNAME = value;
				}
			
		}

		///<summary>
		///入库检验时间
		///</summary>		
		public DateTime? VERIFIERDATE
		{
			get {return _vERIFIERDATE;}
			set { _vERIFIERDATE = value; }
			
		}

		///<summary>
		///一次销售时间
		///</summary>		
		public DateTime? FIRSTSALEDATE
		{
			get {return _fIRSTSALEDATE;}
			set { _fIRSTSALEDATE = value; }
			
		}

		///<summary>
		///公告号
		///</summary>		
		public string BULLETINCODE
		{
			get {return _bULLETINCODE;}
			set {
					_bULLETINCODE = value;
				}
			
		}

		///<summary>
		///变速箱型号
		///</summary>		
		public string GEARTYPE
		{
			get {return _gEARTYPE;}
			set {
					_gEARTYPE = value;
				}
			
		}

		///<summary>
		///变速箱号
		///</summary>		
		public string GEARCODE
		{
			get {return _gEARCODE;}
			set {
					_gEARCODE = value;
				}
			
		}

		///<summary>
		///备注
		///</summary>		
		public string REMARK
		{
			get {return _rEMARK;}
			set {
					_rEMARK = value;
				}
			
		}

		///<summary>
		///转涂ID
		///</summary>		
		public string TUTURNID
		{
			get {return _tUTURNID;}
			set {
					_tUTURNID = value;
				}
			
		}

		///<summary>
		///转涂修改人
		///</summary>		
		public string TUTURNNAME
		{
			get {return _tUTURNNAME;}
			set {
					_tUTURNNAME = value;
				}
			
		}

		///<summary>
		///转涂时间
		///</summary>		
		public DateTime? TUTURNTIME
		{
			get {return _tUTURNTIME;}
			set { _tUTURNTIME = value; }
			
		}

		///<summary>
		///合格证编号
		///</summary>		
		public string CERTIFICATION
		{
			get {return _cERTIFICATION;}
			set {
					_cERTIFICATION = value;
				}
			
		}

		///<summary>
		///销售日期
		///</summary>		
		public DateTime? EXPORTDATE
		{
			get {return _eXPORTDATE;}
			set { _eXPORTDATE = value; }
			
		}

		///<summary>
		///上线时间
		///</summary>		
		public DateTime? ONLINEDATE
		{
			get {return _oNLINEDATE;}
			set { _oNLINEDATE = value; }
			
		}

		///<summary>
		///上线录入人
		///</summary>		
		public string ONLINENAME
		{
			get {return _oNLINENAME;}
			set {
					_oNLINENAME = value;
				}
			
		}

		///<summary>
		///外型参数
		///</summary>		
		public string SHAPEPARAMETERS
		{
			get {return _sHAPEPARAMETERS;}
			set {
					_sHAPEPARAMETERS = value;
				}
			
		}

		///<summary>
		///整备质量
		///</summary>		
		public string PREPAREDNESSQUALITY
		{
			get {return _pREPAREDNESSQUALITY;}
			set {
					_pREPAREDNESSQUALITY = value;
				}
			
		}

		///<summary>
		///计时器运行时间
		///</summary>		
		public string STOPWATCHDATE
		{
			get {return _sTOPWATCHDATE;}
			set {
					_sTOPWATCHDATE = value;
				}
			
		}

		///<summary>
		///特殊记事
		///</summary>		
		public string SPECIALNOTES
		{
			get {return _sPECIALNOTES;}
			set {
					_sPECIALNOTES = value;
				}
			
		}

		///<summary>
		///重大问题变更记录
		///</summary>		
		public string MAJORCHANGERECORD
		{
			get {return _mAJORCHANGERECORD;}
			set {
					_mAJORCHANGERECORD = value;
				}
			
		}

		///<summary>
		///涂回人ID
		///</summary>		
		public string TUBACKID
		{
			get {return _tUBACKID;}
			set {
					_tUBACKID = value;
				}
			
		}

		///<summary>
		///涂回人
		///</summary>		
		public string TUBACKNAME
		{
			get {return _tUBACKNAME;}
			set {
					_tUBACKNAME = value;
				}
			
		}

		///<summary>
		///涂回时间
		///</summary>		
		public DateTime? TUBACKTIME
		{
			get {return _tUBACKTIME;}
			set { _tUBACKTIME = value; }
			
		}

		///<summary>
		///创建时间
		///</summary>		
		public DateTime? CREATETIME
		{
			get {return _cREATETIME;}
			set { _cREATETIME = value; }
			
		}

		///<summary>
		///创建人编号
		///</summary>		
		public long? CREATEPEOPLEID
		{
			get {return _cREATEPEOPLEID;}
			set { _cREATEPEOPLEID = value; }
			
		}

		///<summary>
		///创建人
		///</summary>		
		public string CREATEPEOPLE
		{
			get {return _cREATEPEOPLE;}
			set {
					_cREATEPEOPLE = value;
				}
			
		}

		///<summary>
		///最后修改人编号
		///</summary>		
		public long? LASTMODIFYPEOPLEID
		{
			get {return _lASTMODIFYPEOPLEID;}
			set { _lASTMODIFYPEOPLEID = value; }
			
		}

		///<summary>
		///最后修改人
		///</summary>		
		public string LASTMODIFYPEOPLE
		{
			get {return _lASTMODIFYPEOPLE;}
			set {
					_lASTMODIFYPEOPLE = value;
				}
			
		}

		///<summary>
		///最后修改时间
		///</summary>		
		public DateTime? LASTMODIFYTIME
		{
			get {return _lASTMODIFYTIME;}
			set { _lASTMODIFYTIME = value; }
			
		}

		///<summary>
		///事业部编号
		///</summary>		
		public long? BUSINESSDIVISIONID
		{
			get {return _bUSINESSDIVISIONID;}
			set { _bUSINESSDIVISIONID = value; }
			
		}

		///<summary>
		///事业部名称
		///</summary>		
		public string BUSINESSDIVISIONNAME
		{
			get {return _bUSINESSDIVISIONNAME;}
			set {
					_bUSINESSDIVISIONNAME = value;
				}
			
		}

		///<summary>
		///事业部代码
		///</summary>		
		public string BUSINESSDIVISIONCODE
		{
			get {return _bUSINESSDIVISIONCODE;}
			set {
					_bUSINESSDIVISIONCODE = value;
				}
			
		}

		///<summary>
		///市场部编号
		///</summary>		
		public long? MARKETDEPARTMENTID
		{
			get {return _mARKETDEPARTMENTID;}
			set { _mARKETDEPARTMENTID = value; }
			
		}

		///<summary>
		///市场部代码
		///</summary>		
		public string MARKETDEPARTMENTCODE
		{
			get {return _mARKETDEPARTMENTCODE;}
			set {
					_mARKETDEPARTMENTCODE = value;
				}
			
		}

		///<summary>
		///市场部名称
		///</summary>		
		public string MARKETDEPARTMENTNAME
		{
			get {return _mARKETDEPARTMENTNAME;}
			set {
					_mARKETDEPARTMENTNAME = value;
				}
			
		}

		///<summary>
		///经销商代码
		///</summary>		
		public string DEALERCODE
		{
			get {return _dEALERCODE;}
			set {
					_dEALERCODE = value;
				}
			
		}

		///<summary>
		///经销商名称
		///</summary>		
		public string DEALERNAME
		{
			get {return _dEALERNAME;}
			set {
					_dEALERNAME = value;
				}
			
		}

		///<summary>
		///车辆用途
		///</summary>		
		public string VEHICLEUSE
		{
			get {return _vEHICLEUSE;}
			set {
					_vEHICLEUSE = value;
				}
			
		}

		///<summary>
		///里程
		///</summary>		
		public long? MILEAGE
		{
			get {return _mILEAGE;}
			set { _mILEAGE = value; }
			
		}

		///<summary>
		///车身颜色
		///</summary>		
		public string COLOR
		{
			get {return _cOLOR;}
			set {
					_cOLOR = value;
				}
			
		}

		///<summary>
		///上车编号
		///</summary>		
		public string CARNUMBER
		{
			get {return _cARNUMBER;}
			set {
					_cARNUMBER = value;
				}
			
		}

		///<summary>
		///底盘编号
		///</summary>		
		public string CHASSISNO
		{
			get {return _cHASSISNO;}
			set {
					_cHASSISNO = value;
				}
			
		}

		///<summary>
		///变更时间
		///</summary>		
		public DateTime? CHANGEDATE
		{
			get {return _cHANGEDATE;}
			set { _cHANGEDATE = value; }
			
		}

		///<summary>
		///变更人
		///</summary>		
		public string CHANGENAME
		{
			get {return _cHANGENAME;}
			set {
					_cHANGENAME = value;
				}
			
		}

		///<summary>
		///企业代码
		///</summary>		
		public string CORPCODE
		{
			get {return _cORPCODE;}
			set {
					_cORPCODE = value;
				}
			
		}

		///<summary>
		///配置编号
		///</summary>		
		public string CFGPRODUCTCODE
		{
			get {return _cFGPRODUCTCODE;}
			set {
					_cFGPRODUCTCODE = value;
				}
			
		}

		///<summary>
		///服务商
		///</summary>		
		public string STATIONCODE
		{
			get {return _sTATIONCODE;}
			set {
					_sTATIONCODE = value;
				}
			
		}

		///<summary>
		///排量
		///</summary>		
		public string EMISSIONS
		{
			get {return _eMISSIONS;}
			set {
					_eMISSIONS = value;
				}
			
		}
		
		
		#endregion
		
	}
}
